import request from '@/utils/request'
// 获取商品类型列表
export const getgoodstypelist = params => request.get('api/vm-service/skuClass/search', { params })
// 新增商品类型
export const addgoodstype = data => request.post('api/vm-service/skuClass', data)
// 修改商品类型名称
export const changetypename = id => request.put(`api/vm-service/skuClass/${id}`)
// 删除商品类型
export const deltypename = id => request.delete(`api/vm-service/skuClass/${id}`)
